package com.example.demo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.demo.dto.Jkhomework.JkhomeworkAddRequest;
import com.example.demo.dto.Jkhomework.JkhomeworkQueryRequest;
import com.example.demo.entity.Jkhomework;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
* @author darling
* @description 针对表【jkhomework】的数据库操作Service
*/
public interface JkhomeworkService extends IService<Jkhomework> {

    /**
     * 获取查询条件
     * @param jkhomeworkQueryRequest
     * @return
     */
    QueryWrapper<Jkhomework> getQueryWrapper(JkhomeworkQueryRequest jkhomeworkQueryRequest);

    boolean addjkhomework(MultipartFile file, JkhomeworkAddRequest jkhomeworkAddRequest);
}

